import Vue from 'vue'
import VueRouter from 'vue-router'
import MyGoodsSearch from "@/components/MyGoodsSearch.vue";
import MyUserInfo from "@/components/MyUserInfo.vue";
import MyGoodsList from '@/components/MyGoodsList.vue'

Vue.use(VueRouter)
//路由配置
const routes = [
  {
    path: '/mygoodslist',
    component: MyGoodsList,
  },
  {
    path: '/mygoodssearch',
    component: MyGoodsSearch,
  },
  {
    path: '/myuserinfo',
    component: MyUserInfo,
  },
]

const router = new VueRouter({
  routes,
})

export default router
